<html>
<head><meta charset="utf-8"><title>InvariantFree Trait · project-safe-transmute · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/216762-project-safe-transmute/index.html">project-safe-transmute</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/216762-project-safe-transmute/topic/InvariantFree.20Trait.html">InvariantFree Trait</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="214432557"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/216762-project-safe-transmute/topic/InvariantFree%20Trait/near/214432557" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Quy Nguyen <a href="https://rust-lang.github.io/zulip_archive/stream/216762-project-safe-transmute/topic/InvariantFree.20Trait.html#214432557">(Oct 24 2020 at 15:11)</a>:</h4>
<p>I came across <a href="https://github.com/rust-secure-code/mem-markers/issues/6">this issue</a> on a repo about some memory traits, and I think it could possibly resolve our problems. Of special note is that fact that the trait is safe, but I'm not sure if the justification for that is correct.</p>
<p>To be maximally compatible, the compiler could also have a weak from of full implicit constructibility that automatically applies in order to make it easier to use older code.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>